<template>
  <div>
    num is{{ store.num }}
    <br />
    dobuleNum is{{ store.dobuleNum }}
    <br />
    <button @click="store.add(1)">点击+1</button>
    <button @click="store.sub(1)">点击-1</button>
  </div>
</template>

<script setup>
import { usePinia } from '../../store/store2'
const store = usePinia()
</script>
